SlkAdministration.GetSettingsXml Method

Retrieves the SLK Settings XML for a given SPSite.

Parent Type: SlkAdministration

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public static string GetSettingsXml (
Guid spSiteGuid

)

Parameters

spSiteGuid

The GUID of the SPSite to retrieve SLK Settings for.

Return Value

A string containing SLK Settings XML, or null if spSiteGuid is not configured for use with SLK.

Exceptions
Exception type Condition
SafeToDisplayException

An error occurred that can be displayed to a browser user.

Remarks

This method is static so it can used outside the context of IIS. Only SharePoint administrators can perform this function.